Skip to content

Warn about missing manifest versionCode#108

Open
Haihan-Jiang wants to merge 1 commit into
google:mainfrom
Haihan-Jiang:warn-missing-version-code
Open

Warn about missing manifest versionCode#108
Haihan-Jiang wants to merge 1 commit into
google:mainfrom
Haihan-Jiang:warn-missing-version-code

Conversation

@Haihan-Jiang

Copy link
Copy Markdown

Summary

  • warn from pack-cli when the manifest is missing android:versionCode
  • parse the manifest with the existing XML parser path before packaging continues
  • add coverage for manifests with and without the version code

Closes #37.

Testing

  • cargo test -p pack-cli
  • cargo test --workspace --lib --bins

I also ran cargo test --workspace; the library and binary tests passed, but the existing pack-api doctests fail because the documentation examples are illustrative snippets with ellipses and missing setup.

@Haihan-Jiang Haihan-Jiang marked this pull request as ready for review May 26, 2026 18:36
@Haihan-Jiang

Copy link
Copy Markdown
Author

This is ready for review from my side. Could someone take a look when convenient?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Print a warning when missing critical attributes

1 participant